/**
 * 
 */
package org.vsg.stock.core.indicator.coordinate.origpoint;

import java.util.Date;

import org.vsg.stock.core.indicator.coordinate.OriginalDataPoint;

/**
 * @author Bill Vison
 *
 */
public class SimpleOriginalDataPoint implements OriginalDataPoint {
	
	private double yValue;
	
	private Date xValue;

	
	
	
	public SimpleOriginalDataPoint(double yValue, Date xValue) {

		this.yValue = yValue;
		this.xValue = xValue;
	}
	


	/* (non-Javadoc)
	 * @see org.vsg.stock.core.indicator.coordinate.OriginalDataPoint#getYvalue()
	 */
	@Override
	public double getYvalue() {
		// TODO Auto-generated method stub
		return yValue;
	}

	/* (non-Javadoc)
	 * @see org.vsg.stock.core.indicator.coordinate.OriginalDataPoint#getXvalue()
	 */
	@Override
	public Date getXvalue() {
		// TODO Auto-generated method stub
		return xValue;
	}



	@Override
	public String toString() {
		return "SimpleOriginalDataPoint [yValue=" + yValue + ", xValue="
				+ xValue + "]";
	}

	
	
}
